Optimal. Leaf size=71 \[ \frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )-\frac{2 b \sqrt{c x-1} \sqrt{c x+1}}{9 c^3}-\frac{b x^2 \sqrt{c x-1} \sqrt{c x+1}}{9 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0295427, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5662, 100, 12, 74} \[ \frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )-\frac{2 b \sqrt{c x-1} \sqrt{c x+1}}{9 c^3}-\frac{b x^2 \sqrt{c x-1} \sqrt{c x+1}}{9 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5662
Rule 100
Rule 12
Rule 74
Rubi steps
\begin{align*} \int x^2 \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=\frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{3} (b c) \int \frac{x^3}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=-\frac{b x^2 \sqrt{-1+c x} \sqrt{1+c x}}{9 c}+\frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )-\frac{b \int \frac{2 x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{9 c}\\ &=-\frac{b x^2 \sqrt{-1+c x} \sqrt{1+c x}}{9 c}+\frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )-\frac{(2 b) \int \frac{x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{9 c}\\ &=-\frac{2 b \sqrt{-1+c x} \sqrt{1+c x}}{9 c^3}-\frac{b x^2 \sqrt{-1+c x} \sqrt{1+c x}}{9 c}+\frac{1}{3} x^3 \left (a+b \cosh ^{-1}(c x)\right )\\ \end{align*}
Mathematica [A] time = 0.043911, size = 54, normalized size = 0.76 \[ \frac{1}{9} \left (3 a x^3-\frac{b \sqrt{c x-1} \sqrt{c x+1} \left (c^2 x^2+2\right )}{c^3}+3 b x^3 \cosh ^{-1}(c x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 55, normalized size = 0.8 \begin{align*}{\frac{1}{{c}^{3}} \left ({\frac{{c}^{3}{x}^{3}a}{3}}+b \left ({\frac{{c}^{3}{x}^{3}{\rm arccosh} \left (cx\right )}{3}}-{\frac{{c}^{2}{x}^{2}+2}{9}\sqrt{cx-1}\sqrt{cx+1}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.17177, size = 78, normalized size = 1.1 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{1}{9} \,{\left (3 \, x^{3} \operatorname{arcosh}\left (c x\right ) - c{\left (\frac{\sqrt{c^{2} x^{2} - 1} x^{2}}{c^{2}} + \frac{2 \, \sqrt{c^{2} x^{2} - 1}}{c^{4}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.42938, size = 140, normalized size = 1.97 \begin{align*} \frac{3 \, b c^{3} x^{3} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) + 3 \, a c^{3} x^{3} -{\left (b c^{2} x^{2} + 2 \, b\right )} \sqrt{c^{2} x^{2} - 1}}{9 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.67728, size = 71, normalized size = 1. \begin{align*} \begin{cases} \frac{a x^{3}}{3} + \frac{b x^{3} \operatorname{acosh}{\left (c x \right )}}{3} - \frac{b x^{2} \sqrt{c^{2} x^{2} - 1}}{9 c} - \frac{2 b \sqrt{c^{2} x^{2} - 1}}{9 c^{3}} & \text{for}\: c \neq 0 \\\frac{x^{3} \left (a + \frac{i \pi b}{2}\right )}{3} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.45294, size = 84, normalized size = 1.18 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{1}{9} \,{\left (3 \, x^{3} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) - \frac{{\left (c^{2} x^{2} - 1\right )}^{\frac{3}{2}} + 3 \, \sqrt{c^{2} x^{2} - 1}}{c^{3}}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]